package com.my.cd.singleton;

/**
 * 单例的实现：饱汉模式
 */
public class SingletonA {

    private static final SingletonA instance = new SingletonA();

    private SingletonA() {
    }

    public SingletonA getInstance() {
        return instance;
    }
}
